namespace Cos.Core.NHibernate.Mapping
{
    #region Usings

    using FluentNHibernate.Mapping;

    #endregion

    public class BadwordMap : ClassMap<BadwordDataModel>
    {
        #region Constructors and Destructors

        public BadwordMap()
        {
            this.Table("Badword");
            this.LazyLoad();
            this.Id(x => x.Id).GeneratedBy.Native().Column("ID");
            this.Map(x => x.Word).Not.Nullable().Column("Word");
        }

        #endregion
    }
}